<?php
/**
 * This file contains PHP5 functions that are not available in PHP4
 */
if (!function_exists('str_split')){
	function str_split($string, $split_length=1){

		if ($split_length < 1) {
			return false;
		}

		for ($pos=0, $chunks = array(); $pos < strlen($string); $pos+=$split_length) {
			$chunks[] = substr($string, $pos, $split_length);
		}
			return $chunks;
		}
}
?>
